import type { CSSProperties } from "react";

export type RadioOption<T> = {
  value: T;
  label: string;
  disabled?: boolean;
};

export interface RadioProps<T = string | number> {
  value?: T;
  options?: RadioOption<T>[];
  disabled?: boolean;
  border?: boolean;
  className?: string;
  style?: CSSProperties;
  onChange?: (v: T) => void;
}
